package com.gdit.zax.dao;

import java.util.ArrayList;

import com.gdit.zax.entitys.Attention;
import com.gdit.zax.entitys.AttentionUser;

public interface AttentionDao {
	public ArrayList<AttentionUser> listAttention(int uid,int page,int onepagecount);
	public ArrayList<AttentionUser> listAttention(int page,int onepagecount);
	public boolean addAttention(int uid,int auid);
	public boolean isAttention(int uid,int auid);
	public boolean delAttention(int uid,int auid);
	public int getAttentionSum(int uid);
	
	public ArrayList<AttentionUser> listFrans(int uid,int page,int onepagecount);
	public ArrayList<AttentionUser> listFrans(int page,int onepagecount);
	public boolean isFrans(int uid,int auid);
	public boolean delFrans(int uid,int auid);
	public int getFransSum(int uid);
}
